package com.zipking.cloud.springbootmybatis.briage;

public abstract class Abstraction {
    protected Implementor implementor;

    public Abstraction(Implementor implementor) {
        this.implementor = implementor;
    }

    public void operation() {
        // 调用实现者的操作，可能包括一些抽象类自己的逻辑
        implementor.operationImpl();
    }
}
